from django.db import models
from django.db.models.deletion import SET_NULL
from city.models import District

class Basic(models.Model):
	id= models.AutoField(primary_key=True)
	full_name=models.CharField(max_length=128)
	address=models.CharField(max_length=512)# working address
	register_district=models.ForeignKey(District,on_delete=models.SET_NULL,null=True)# register city
	listed_since=models.DateField(auto_now=False, auto_now_add=False,null=True)#
	president=models.CharField(max_length=24)
	secretary=models.CharField(max_length=24)
	main_bussiness=models.TextField()
	about=models.TextField()



